package com.yc.jpyy.driver.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.dao.BaseDao;

public interface DriverDao extends BaseDao {

	

	int addDriverDao(Map<String, Object> companyInfo) throws DataAccessException;

	int updateDriverDao(Map<String, Object> companyInfo) throws DataAccessException;

	int delDriverDao(Map<String, Object> companyInfo) throws DataAccessException;

	Map<String, Object> findDriverByID(Map<String, Object> companyInfo) throws DataAccessException;
	
	Map<String, Object> findDriverByCertif(Map<String, Object> info) throws DataAccessException;
	
	
	
	int delforUpdateDriverDao(Map<String, Object> loseGoodsInfo) throws DataAccessException;
	
	int updateDriverStatusDao(Map<String, Object> paramsMap) throws DataAccessException;
	 //分页查询
	List<Map<String, Object>> findDriverDao(Map<String, Object> paramsMap)throws DataAccessException;
	 
	 //分页查询
	List<Map<String, Object>> findDriverNoPicture(Map<String, Object> paramsMap)throws DataAccessException;
		  
	  //查询总数
	int findDriverDaoCount(Map<String, Object> paramsMap)throws DataAccessException;
	
	int findDriverByIdNumberDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	List<Map<String, Object>> findFWJDKHDDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findFWJDKHDforNumDao(Map<String, Object> paramsMap)throws DataAccessException;
   
	List<Map<String, Object>> findFWJDKbyIdDao(Map<String, Object> paramsMap)throws DataAccessException;

	List<Map<String, Object>> findDriverfromVehicle(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findVehiclefromDriver(Map<String, Object> paramsMap)throws DataAccessException;
	

	List<Map<String, Object>> findComplainantCompanyCountNum(Map<String, Object> paramsMap)throws DataAccessException;

	List<Map<String, Object>> findDriveAgeSum(Map<String, Object> paramsMap)throws DataAccessException;

	List<Map<String, Object>> findDriveAgeList(Map<String, Object> paramsMap)throws DataAccessException;

	List<Map<String, Object>> findDriverListDao(Map<String, Object> paramsMap)throws DataAccessException;
	



	
	List<Map<String, Object>> findDriverNameAndIdNumberAllDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	
	
	
	List<Map<String, Object>> findDriverPunishmentforWeixinDao(Map<String, Object> paramsMap)throws DataAccessException;
	  
	  //查询总数
	int findDriverPunishmentforWeixinCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> findDriverComplaintInfoforWeixinDao(Map<String, Object> paramsMap)throws DataAccessException;
	  
	  //查询总数
	int findDriverComplaintInfoforWeixinCountDao(Map<String, Object> paramsMap)throws DataAccessException;
	
	
	List<Map<String, Object>> findDriverNameToPunishCountAndComplainCountDao(Map<String, Object> paramsMap) throws DataAccessException;
	
	Map<String, Object> findDriverDetailByIdWx(Map<String, Object> paramsMap)throws DataAccessException;
	
	List<Map<String, Object>> selectDriverStatistic(Map<String, Object> paramsMap)throws DataAccessException;

	int selectDriverStatisticCount(Map<String, Object> paramsMap)throws DataAccessException;

	List<Map<String, Object>> getNotOnlineDriver(Map<String, Object> paramsMap)throws DataAccessException;

}

